RGB512

This is the first in a series of generative art collections to be published on OpenSea.

This collection, entitled RGB512, consists of 16 RGB images of 512 x 512 size generated by simple functions of the form $ (x,y,\theta) \to (r,g,b) $ that map the two coordinates of a pixel ($ x $ and $ y $) and a random number $ \theta $ (extracted from the uniform distribution $ [0,1] $) to the 3 RGB channels.

Every image is generated by three handcrafted formulas, one for each channel:

$ \left\{\begin{align} &r = f_R(x,y,\theta) \\ &g = f_G(x,y,\theta) \\ &b = f_B(x,y,\theta) \end{align}\right. $

Every channel function $f_C$ may include:

  • a combination of x and y => tagged as XY:C
  • a trigonometric function => tagged as TRIGO:C
  • a logarithmic function => tagged as LOG:C
  • a modulo operator => tagged as MOD:C
  • a random number => tagged as RND:C

The 5 tags constitute a vector that characterizes the pattern of the image crated by the channel functions. To ensure a pattern variability in the collection which gives a character of uniqueness to each item, every image has been generated using a specific vector of characteristic tags.

Image IM1

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \\ &g = y \\ &b = x+y \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM1 B N N N N

Image IM2

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod 128 \\ &g = y \bmod 128 \\ &b = \left(x+y\right) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM2 B N N RGB N

Image IM3

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \sin{\frac{\pi}{512} x} \\ &g = 256 \cos{\frac{\pi}{512} y} \\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM3 B RG N B N

Image IM4

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \sin{\frac{\pi}{512} x} \\ &g = 256 \cos{\frac{\pi}{512} y} \bmod 192\\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM4 B RG N GB N

Image IM5

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \cos{\frac{\pi}{512} x} \bmod 128 \\ &g = 256 \cos{\frac{\pi}{512} y} \bmod 128 \\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM5 B RG N RGB N

Image IM6

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod \left( 256 \sin{\frac{\pi}{1024} x } +1 \right) \\ &g = y \bmod 128 \\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM6 B R N RGB N

Image IM7

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod \left( 256 \sin{\frac{\pi}{1024} x } +1 \right) \\ &g = 256 \ln{ \frac{y}{1.04799}} \bmod 128 \\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM7 B R G RGB N

Image IM8

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod \left( 256 \sin{\frac{\pi}{1024} x } +1 \right) \\ &g = \ln{ \left( x + y \right) } \bmod 128 \\ &b = (x+y) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM8 GB R G RGB N

Image IM9

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod \left( 256 \sin{\frac{\pi}{1024} x } +1 \right) \\ &g = 256 \ln{ \frac{x + y}{1.04799}} \bmod 128 \\ &b = \frac{y}{10} \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM9 G R G RG N

Image IM10

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \left( x + \sin{\frac{\pi}{1024} x } \right) \bmod 256 \\ &g = 256 \left( y + \sin{\frac{\pi}{1024} y } \right) \bmod 256 \\ &b = \left( x + y + \sin{\frac{\pi}{2} x} + \sin{\frac{\pi}{2} y} \right) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM10 B RGB N RGB N

Image IM11

This image is generated by the following function definiton

$ \left\{\begin{align} &r = \left( x + 256 \sin{\frac{\pi}{1536} x } \right) \bmod 256 \\ &g = \left( y + 256 \sin{\frac{\pi}{1536} y } \right) \bmod 256 \\ &b = 32 \log{\frac{xy}{6}} \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM11 B RG B RGB N

Image IM12

This image is generated by the following function definiton

$ \left\{\begin{align} &r = x \bmod \left( 256 \sin{\frac{\pi}{1024} x } +1 \right) \\ &g = y \sin{\frac{\pi}{2048} y } \bmod 64 \\ &b = \sin{512 x y } \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM12 B RG N RG N

Image IM13

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \sin{\frac{\pi}{512} x } \\ &g = \left( y + 256 \sin{\frac{\pi}{512} y } \right) \bmod 192 \\ &b = \left( 4+256 \log{x+y+512\theta} \right) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM13 B RG B GB B

Image IM14

This image is generated by the following function definiton

$ \left\{\begin{align} &r = 256 \theta \sin{\frac{\pi}{2}x} \\ &g = \left( x+y \right) \bmod 256 \\ &b = \left( x-y \right) \bmod 265 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM14 GB R N GB R

Image IM15

This image is generated by the following function definiton

$ \left\{\begin{align} &r = \left( x+y \right) \bmod 256 \\ &g = \left( 2x+y \right) \bmod 256 \\ &b = \left( 2x-y \right) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM15 RGB N N RGB N

Image IM16

This image is generated by the following function definiton

$ \left\{\begin{align} &r = \theta y \bmod 256 \\ &g = \theta x \bmod 256 \\ &b = \left( x-y \right) \bmod 256 \end{align}\right. $

Its characteristic tags vector is

IM/TAG XY TRIGO LOG MOD RND
IM16 B N N RGB RG

Prepare collection for publishing

The 16 images have been generated as PNG files and published on OpenSea as NFT on the Polygon chain.

Each image has a unique characetristic tags vector. Several images may share some tags while others are the only ones to have a specific tag. The latest are listed below and are tagged also in the OpenSea using the properties slot in item metadata.

Image IM1 is the only one with tag MOD:N
Image IM3 is the only one with tag MOD:B
Image IM9 is the only one with tag XY:G
Image IM10 is the only one with tag TRIGO:RGB
Image IM13 is the only one with tag RND:B
Image IM14 is the only one with tag RND:R
Image IM15 is the only one with tag XY:RGB
Image IM16 is the only one with tag RND:RG

Mosaic

Project perspective

This is the first visual abstract generative art I created to be published as NFT. This is also my first exploration in creating NFT at all.

More collections of generative art will be realised, also according to the reactions to this first one, following different inspirations, approaches and algorithms to ensure that every collection is unique and distinguishable from the others.

Notes:

  • The code used to generate the collection has been written in Python using a jupyter Notebook.
  • This project page has been realised converting the original NFT RGB512 Notebook in HTML using nbconvert (the code has been hidden for readibility)
  • The source code is available in the same github public repository